<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="topBar.jsp"%>
<%@include file="leftBar.jsp"%>
<%@include file="bottomBar.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>修改用户</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>
		#myForm{border:1px solid #ccc;position:absolute;top:280px;left:490px;height:400px;}
		#user{width:500px;line-height:34px;margin:60px -100px 0 100px;}
		#myForm>p{font-size:26px;color:#333;margin:-8px 0 0 506px;cursor:pointer;}
	</style>
</head>

<body>
	<form action="UserServlet?opr=updateUser&id=${user.id }" method="post" id="myForm">
		<p onclick="history.back();">×</p>
		<table id="user">
			<tr>
				<td><span>用户名称</span></td>
				<td><input type="text" name="loginName" id="loginName" value="${user.loginName }"/></td>
			</tr>
			<tr>
				<td><span>真实姓名</span></td>
				<td><input type="text" name="userName" id="userName" value="${user.userName }"/></td>
			</tr>
			<tr>
				<td><span>身份证号</span></td>
				<td><input type="text" name="identityCode" id="identityCode" value="${user.identityCode }"/></td>
			</tr>
			<tr>
				<td><span>电子邮箱</span></td>
				<td><input type="text" name="email" id="email" value="${user.email }"/></td>
			</tr>
			<tr>
				<td><span>手&nbsp; &nbsp; 机</span></td>
				<td><input type="text" name="mobile" id="mobile" value="${user.mobile }"/></td>
			</tr>
			<tr>
				<td><span>用户类型</span></td>
				<td>
					<select name="type" id="type">
						<option value="1">管理员</option>
						<option value="0">普通会员</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><span>&nbsp;</span></td>
				<td><input type="submit" value="修改信息"/></td>
			</tr>
		</table>
	</form>
</body>
</html>
